<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head><title></title></head>
  <body>
    <div id="sendMail">
      <input type="button" onclick="sumbitEmail()"/>
    </div>
    <script type="text/javascript">
      function submitEmail() {
        console.log("email sent");
      }
    </script>
  </body>
</html>
